package com.misena.praxispraktik.controller;

import com.misena.praxispraktik.entity.Formaciones;
import com.misena.praxispraktik.facade.FormacionesFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "formacionesController")
@ViewScoped
public class FormacionesController extends AbstractController<Formaciones> implements Serializable {

    @EJB
    private FormacionesFacade ejbFacade;

    public FormacionesController() {
        super(Formaciones.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
